﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SJ.Platform.EFCore.Model.ProjectManager
{
    [Table("project_main")]
    [Description("项目主表")]
    public class ProjectMain
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string? ProjectName { get; set; }

        /// <summary>
        /// 项目依据
        /// </summary>
        public string? Basis { get; set; }

        /// <summary>
        /// 项目描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 项目经理Id
        /// </summary>
        public string? ManagerId { get; set; }
        /// <summary>
        /// 项目经理名称
        /// </summary>
        public string? ManagerName { get; set; }

        /// <summary>
        /// 项目状态（0=立项中，1=立项完成）
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? AddUserId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 最后编辑人
        /// </summary>
        public string? EditUserId { get; set; }

        /// <summary>
        /// 最后编辑时间
        /// </summary>
        public DateTime? EditTime { get; set; }
    }
}
